<!-- 消息列表-->
<template>
  <div class="disFlx">
    <TableMenu class="br-10" title="消息通知" :menuList="menuList" @change="key => (menuKey = key)" />
    <List v-if="menuKey === 'messageList'"></List>
    <MessageConfig v-else-if="menuKey === 'messageManage'"> </MessageConfig>
  </div>
</template>

<script>
import TableMenu from '@/components/TableMenu'
import List from './list/index.vue'


import MessageConfig from './messageConfig/index.vue'

export default {
  components: {
    TableMenu,
    List,
    MessageConfig
  },
  data() {
    return {
     
      menuList: [
        { name: '消息发送记录', key: 'messageList' },
        { name: '被动消息管理', key: 'messageManage' }
      ],

      menuKey: 'messageList',
    }
  },
  computed: {},
  
}
</script>
<style scoped lang="less"></style>
